package com.cz.zslu.model;

import com.cz.zslu.entity.ZslOrigin;
import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhanghaogao
 * @create 2018-12-18 16:19
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StatisticsInfo {

    @ApiModelProperty("商品浏览数")
    private Integer pageViews = 0;

    @ApiModelProperty("店铺关注数")
    private Integer storeFollow = 0;

    @ApiModelProperty("商品关注数")
    private Integer goodsFollow = 0;

    @ApiModelProperty("授权品牌")
    private List<ZslOrigin> origins = Lists.newArrayList();

    @ApiModelProperty("出售中商品")
    private Integer onOffer = 0;

    @ApiModelProperty("下架中商品")
    private Integer undercarriage = 0;

}
